package com.yidian.demotickets.entity;

/**
 * Created by bmc on 2017/10/18.
 */

public class SvgContentEntity {

    //对齐方式 0:居左 1：居中 2：居右
    private int align;
    // 0不加粗  1加粗
    private int bold;
    //商品单的行
    private int row;
    //商品单的列
    private int colum;
    //二维码 一维码 或图片的宽
    private int pwidth;
    //二维码 一维码 或图片的高
    private int pheight;
    //字体大小
    private float fontSize;
    //具体样式：0:纯文字 1:line 2:商品单 3：二维码
    private int category;
    //0表示不换行 1表示换行
    private int linewrap;
    //商品单数据  距离做边框的百分比
    private int disx;
    //具体内容  可以是具体的文本内容、二维码内容
    private String content;

    public SvgContentEntity() {
    }

    public SvgContentEntity(int align, int bold, int row, int colum, int pwidth, int pheight, float fontSize, int category, int linewrap, int disx, String content) {
        this.align = align;
        this.bold = bold;
        this.row = row;
        this.colum = colum;
        this.pwidth = pwidth;
        this.pheight = pheight;
        this.fontSize = fontSize;
        this.category = category;
        this.linewrap = linewrap;
        this.disx = disx;
        this.content = content;
    }

    public int getAlign() {
        return align;
    }

    public void setAlign(int align) {
        this.align = align;
    }

    public int getBold() {
        return bold;
    }

    public void setBold(int bold) {
        this.bold = bold;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getColum() {
        return colum;
    }

    public void setColum(int colum) {
        this.colum = colum;
    }

    public int getPwidth() {
        return pwidth;
    }

    public void setPwidth(int pwidth) {
        this.pwidth = pwidth;
    }

    public int getPheight() {
        return pheight;
    }

    public void setPheight(int pheight) {
        this.pheight = pheight;
    }

    public float getFontSize() {
        return fontSize;
    }

    public void setFontSize(float fontSize) {
        this.fontSize = fontSize;
    }

    public int getCategory() {
        return category;
    }

    public void setCategory(int category) {
        this.category = category;
    }

    public int getLinewrap() {
        return linewrap;
    }

    public void setLinewrap(int linewrap) {
        this.linewrap = linewrap;
    }

    public int getDisx() {
        return disx;
    }

    public void setDisx(int disx) {
        this.disx = disx;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "SvgContentEntity{" +
                "align=" + align +
                ", bold=" + bold +
                ", row=" + row +
                ", colum=" + colum +
                ", pwidth=" + pwidth +
                ", pheight=" + pheight +
                ", fontSize=" + fontSize +
                ", category=" + category +
                ", linewrap=" + linewrap +
                ", disx=" + disx +
                ", content='" + content + '\'' +
                '}';
    }
}
